//
//  DataBaseManager.h
//  UI14_DataBase
//
//  Created by LIMING on 14-10-2.
//  Copyright (c) 2014年 Lee All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserInfoModel.h"
#import "PersonalDataModel.h"
#import "WeiboInfoModel.h"
#import <sqlite3.h>//引入系统的数据库
@interface DataBaseManager : NSObject
+ (void)open;
+ (void)create;
+ (void)createDataTable;//创建检测数据表
+ (void)createWeiBoUserInfo;//创建微博用户信息表
+ (void)close;
+ (void)insert:(UserInfoModel *)model;
+ (void)remove:(UserInfoModel *)model;
+ (void)insertData:(PersonalDataModel *)model;
+ (void)removeData:(PersonalDataModel *)model;
+ (void)insertWeiBoInfo:(WeiboInfoModel *)model;
+ (NSArray *)select;
+ (WeiboInfoModel *)selectWeiBoUserInfo;
@end
